

package contest.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface IWebAction {

    //METHOD IS EXECUTED WHEN USER CALL GET METHOD
    public void handleGet(HttpServletRequest request, HttpServletResponse response) throws Exception;

    //METHOD IS EXECUTED WHEN USER CALL POST METHOD
    public void handlePost(HttpServletRequest request, HttpServletResponse response) throws Exception;

    //METHOD IS EXECUTED WHEN USER CALL POST METHOD
    public void handleAjax(HttpServletRequest request, HttpServletResponse response) throws Exception;
    
}
